package com.jwsoft.manager.common.vo.eduWorkPerson;

import com.bifang.assistant.common.vo.BaseVO;
import com.bifang.assistant.common.constants.Validators;
import io.swagger.v3.oas.annotations.media.Schema;
import com.fasterxml.jackson.annotation.JsonFormat;
import javax.validation.constraints.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;
import java.util.List;
/**
* 工单流转人员管理 查询对象
*
* @author zhang
* @since 1.0.0 2025-05-12
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(description = "工单流转人员管理VO实体")
public class EduWorkPersonVO extends BaseVO {
    @Schema(name = "workPersonId", description = "工单流转人员主键")
    private Long workPersonId;

    @Schema(name = "orgId", description = "组织id")
    @NotBlank(groups = {Validators.Edit.class,Validators.Add.class},message = "组织id不能为空")
    @Size(max = 64, message = "组织id长度不能超过 {value} 个字符")
    private String orgId;
    @Schema(name = "orgIdName", description = "组织id中文")
    private String orgIdName;

    @Schema(name = "orgName", description = "组织名称")
    @Size(max = 100, message = "组织名称长度不能超过 {value} 个字符")
    private String orgName;

    @Schema(name = "userId", description = "用户id")
    @NotBlank(groups = {Validators.Edit.class,Validators.Add.class},message = "用户id不能为空")
    @Size(max = 32, message = "用户id长度不能超过 {value} 个字符")
    private String userId;
    @Schema(name = "userIdName", description = "用户id中文")
    private String userIdName;

    @Schema(name = "userName", description = "用户名")
    @Size(max = 50, message = "用户名长度不能超过 {value} 个字符")
    private String userName;

    @Schema(name = "areaCode", description = "行政区划")
    @NotBlank(groups = {Validators.Edit.class,Validators.Add.class},message = "行政区划不能为空")
    @Size(max = 10, message = "行政区划长度不能超过 {value} 个字符")
    private String areaCode;
    @Schema(name = "areaCodeName", description = "行政区划中文")
    private String areaCodeName;
    @Schema(name = "areaName", description = "行政区划名称")
    private String areaName;

    @Schema(name = "createName", description = "创建人")
    @Size(max = 50, message = "创建人长度不能超过 {value} 个字符")
    private String createName;

    @Schema(name = "createTime", description = "创建时间")
    private Date createTime;

    @Schema(name = "updateName", description = "修改人")
    @Size(max = 50, message = "修改人长度不能超过 {value} 个字符")
    private String updateName;

    @Schema(name = "updateTime", description = "更新时间")
    private Date updateTime;

    @Schema(name = "del", description = "逻辑删除标志")
    @Size(max = 1, message = "逻辑删除标志长度不能超过 {value} 个字符")
    private String del;

    @Schema(name = "impErrorMsg", description = "导入错误信息")
    private String impErrorMsg;

    @Schema(name = "personType", description = "1.教育局工作人员，2技术人员")
    private String personType;
}
